Loyalty Management GDS API Powered by MuleSoft
Setup Guide
Pre-requisite
- Login to your Salesforce Loyalty Cloud instance.
- Install the package for GDS integration from here.
- Create connected app in the Salesforce with client credentials flow enabled and access to APIs given, copy the client_id and client_secret values and save to be used in the Setup process of Mule app.
Setup
- Login to Salesforce and navigate to Setup page.
- Search for the 'Integrations Setup' page, and select the Loyalty Management GDS API Powered by MuleSoft application, and then click Enable.
- Enter the application display name, target business group, and environment for deployment, and then click Next.
- Enter all necessary configurations that are prompted.
- To add any optional configuration ,Click Add Additional parameters and enter the required details. Refer below table for
configuration details.
| SNo | Application property name(Key name) | Sample value | Description |
|---|---|---|---|
| 1 | salesforce.coreapi.domain | loyaltyde-dev-ed.demo.my.salesforce.com | The Salesforce org domain |
| 2 | salesforce.loyalty.program-name | NTO Insider | The name of the loyalty program |
| 3 | salesforce.connected-app.client-id | The client id of the Salesforce org created as part of the pre-requisite steps | |
| 4 | salesforce.connected-app.client-secret | The client secret of the Salesforce org created as part of the pre-requisite steps | |
| 5 | global-var.journal-type-id.redemption-reversal | The salesforce ID of the Journal Type Redemption Reversal | |
| 6 | global-var.journal-sub-type-id.refund | The salesforce ID of the Journal Sub Type Refund | |
| 7 | global-var.loyalty-program-id | The salesforce ID of the loyalty program |
- In the next tab, For Authorization protocol, select None.
- Click proceed to deploy the application.
Post Deployment
- To Access the mule application, client_id and client_secret would be required as the Client ID enforcement policy would be applied.
- To get the credentials, login to anypoint platform and navigate to exchange.
- Search for the API and grant access to get the client credentials.